package com.yimingkeji.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Describe:
 * @Auther: zhenlong.yang
 * @Date: 2018/11/23 13:17
 */
@Configuration
@ConfigurationProperties(prefix = "myconfig.rand")
@Data
public class RandomConfig {
    private String str;
    private int num;
    private long num1;
    private int num2;
    private String uuid;
}
